package com.xj.homework.pattern.singleton;

/**
 *
 */
public class LazySingleTon {
    public static LazySingleTon instance;
    private LazySingleTon(){}

    public static LazySingleTon getInstance() {
        if (instance == null) {
            instance = new LazySingleTon();
        }
        return instance;
    }
}
